package com.bestsoft.flow.service;

import com.bestsoft.flow.domain.FlowOrderMt;
import com.bestsoft.flow.domain.FlowOrderMt2;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Service接口
 *
 * @author 王识宇
 * @date 2023-08-28
 */
public interface IFlowOrderMtService {
    /**
     * 查询用户订单汇总
     *
     * @param orderId 用户订单汇总主键
     * @return 用户订单汇总
     */
    public FlowOrderMt selectFlowOrderMtByOrderId(Long orderId);

    /**
     * 查询用户订单汇总列表
     *
     * @param flowOrderMt 用户订单汇总
     * @return 用户订单汇总集合
     */
    public List<FlowOrderMt> selectFlowOrderMtList(FlowOrderMt flowOrderMt);

    /**
     * erp查询用户订单汇总
     *
     * @param orderId 用户订单汇总主键
     * @return 用户订单汇总
     */
    public FlowOrderMt2 selectFlowOrderMtByOrderIdErp(Long orderId);

    /**
     * erp查询用户订单汇总列表
     *
     * @param FlowOrderMt2 用户订单汇总
     * @return 用户订单汇总集合
     */
    public List<FlowOrderMt2> selectFlowOrderMtListErp(FlowOrderMt2 flowOrderMt2);
}
